package ooday02;
//演示final修饰变量：变量不能修改
public class FinalDemo {
    class Eoo {
        final int a = 5;
        int b = 6;

        void test() {
            //a=55;//编译错误
            b = 66;
            final int c = 6;
            //c=88;//编译错误
        }
    }

    class Foo{
        final void show(){}
        void test(){}
    }
    class Goo extends Foo{
        
    }
}
